<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Swiper;
use App\Http\Resources\Swiper as SwiperResource;
class SwiperController extends Controller
{
    public function index()
    {
    	$datas = Swiper::orderBy('sort')->get();
    	return SwiperResource::collection($datas);
    }
}
